package com.changgou.seckill.dao;

import com.changgou.seckill.pojo.SecKillActivity;
import org.apache.ibatis.annotations.Param;

import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface SecKillActivityMapper extends Mapper<SecKillActivity> {

    @Update("UPDATE tb_seckill_activity SET status=#{status} WHERE id =#{id}")
    void updateById(@Param("status") Integer status,@Param("id") Integer id);
}
